package org.jeecg.modules.assets.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.assets.entity.AssetsItem;
import org.jeecg.modules.assets.entity.AssetsPreliminaryResultsItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 初盘结果管理
 * @Author: jeecg-boot
 * @Date:   2023-12-12
 * @Version: V1.0
 */
public interface AssetsPreliminaryResultsItemMapper extends BaseMapper<AssetsPreliminaryResultsItem> {

    Page<AssetsPreliminaryResultsItem> getAssetsItem(Page page,@Param("realname") String realname, @Param("unionId")String unionId,
                                                     @Param("inventoryStatus")String inventoryStatus,
                                                     @Param("preliminaryStatus")Integer preliminaryStatus,
                                                     @Param("company") String company,
                                                     @Param("applyId") Integer applyId,
                                                     @Param("assetName") String assetName
                                                     );

    int getHaveNum(@Param("realname")String realname, @Param("unionId")String uniqueId, @Param("company") String company);

    int getHaveNumDept(@Param("id")  Integer id);
}
